﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
  <meta name="verify-v1" content="6i/N6+rlQ/L2Ro4akvocmVo22ayXRZ2WbpdVkxtzuwM=" />
  <meta name="y_key" content="107d857063b8f9ec" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="Content-Style-Type" content="text/css; charset=UTF-8" />
  <meta http-equiv="keywords" content="" />
  <meta http-equiv="description" content="" />
  <link rel="shortcut icon" href="/eng/favicon.ico" />
  <link rel="start" href="/eng/index.html" title="<bean:message key="cstp100.001"/>" />
  <link rel="help" href="/eng/sitemap/index.html" title="<bean:message key="cstp100.002"/>" />
  <title><bean:message key="cstp100.000"/></title>
  <%@ include file="../common/common_css.jsp" %>
  <%@ include file="../common/common_js.jsp" %>
  <%@ include file="../common/menuLink.jsp" %>
  <script type="text/javascript" src="${f:url('/js/menu.js')}"></script>
  <script type="text/javascript" src="${f:url('/js/jquery-1.7.1.js')}"></script>
  <script language="JavaScript">
  <!--
    // 初期表示
    function func_load(){
      // オートコンプリート無効化
      func_disabled_auto_complete();
    }

    // 設計書アップロード
    function func_fileUpload(workflowId, workflowName, revision){
      var f = document.forms[0];
      f.workflowId.value   = workflowId;
      f.workflowName.value = workflowName;
      f.revision.value     = revision;
      f.action = "${f:url('/csde/csde401/')}";
      f.submit();
    }

    // ES出荷確認
    function func_esCheck(){
      var f = document.forms[0];
      f.action = "${f:url('/csde/csde701/')}";
      f.submit();
    }

    // Submit
    function func_submit(workflowId, workflowName, revision){
      var f = document.forms[0];
      f.workflowId.value   = workflowId;
      f.workflowName.value = workflowName;
      f.revision.value     = revision;
      f.action = "${f:url('/csde/csde601/')}";
      f.submit();
    }

    // Delete
    function func_delete(workflowId, workflowName, revision){
      var f = document.forms[0];
      f.workflowId.value   = workflowId;
      f.workflowName.value = workflowName;
      f.revision.value     = revision;
      f.action = "${f:url('/csde/csde501/')}";
      f.submit();
    }

    // ダウンロード
    function func_download(fileName, dataType){
      if(dataType == "301"){
        func_qorReport(fileName);
      }else{
        var f = document.forms[0];
        f.fileName.value = fileName;
        f.action = "${f:url('/csde/csde301/download/')}";
        f.submit();
      }
    }

    // 設計書アップロード警告
    function func_uploaded(){
      var f = document.forms[0];
      f.action = "${f:url('/csde/csde301/uploaded/')}";
      f.submit();
    }

    // 非同期でサーバーに行って値取ってくる
    function func_qorReport(fileName){
      jQuery.support.cors = true;
      $.ajax({
        type: "POST",
        url: "${f:url('/csde/csde301/basicValue')}",
        success: function(data) {
          try{
            func_qorReportOutput(fileName, data.getElementsByTagName("value1")[0].childNodes[0].nodeValue, data.getElementsByTagName("value2")[0].childNodes[0].nodeValue);
          }catch(e){}
        }
      });
    }

    // QoRレポート出力
    function func_qorReportOutput(fileName, value1, value2){
      jQuery.support.cors = true;
      $.ajax({
        url: "https://172.16.30.71" + fileName,
        method: "POST",
        username: value1,
        password: value2,
        success: function(data){window.open("https://172.16.30.71" + fileName);},
        error: function(jqXHR, textStatus, errorThrown){
          alert(textStatus+": "+errorThrown);
        }
      });
    }
  //-->
  </script>
</head>

<body onload="func_load();">
  <div id="screenMode">

    <div id="container">
      <a name="top" id="top"></a>

      <!-- header -->
      <%@ include file="../common/header.jsp" %>

      <div id="maincontents" class="clear">

        <div id="colLeft">

          <!-- Menu -->
          <%@ include file="../common/menu.jsp" %>

        </div><!-- colLeft -->

<s:form action="/csde/csde301" >

        <div id="colRight">

          <h1><bean:message key="csde301.001" /></h1>

          <fieldset>
            <legend><bean:message key="csde301.002" /></legend>

            <div id="searchAreaTitle" style="width:120px;">
              <bean:message key="csde301.003" /><br/>
            </div>
            <div id="searchAreaData">
              <div class="wspace" style="width:520px;">${f:h(contractNumber)}</div>
            </div>
            <div id="searchAreaTitle" style="width:120px;">
              <bean:message key="csde301.004" /><br/>
            </div>
            <div id="searchAreaData">
              <div class="wspace" style="width:520px;">${f:h(projectName)}</div>
            </div>
            <div id="searchAreaTitle" style="width:120px;">
              <bean:message key="csde301.005" /><br/>
            </div>
            <div id="searchAreaData">
              <div class="wspace" style="width:520px;">${f:h(description)}</div>
            </div>

          </fieldset>

          <div id="searchTable">

            <c:set var="rowCountUp" value="0" />
            <c:set var="rowClass" value="td2" />

            <table class="table">
              <colgroup>
                <col width="120px" />
                <col width="40px" />
                <col width="100px" />
                <col width="80px" />
                <col width="100px" />
                <col width="80px" />
                <col width="80px" />
              </colgroup>
              <tr>
                <th class="th" rowspan="2"><bean:message key="csde301.006" /></th>
                <th class="th" rowspan="2"><bean:message key="csde301.007" /></th>
                <th class="th" colspan="2"><bean:message key="csde301.008" /></th>
                <th class="th" colspan="2"><bean:message key="csde301.009" /></th>
                <th class="th" rowspan="2"><bean:message key="csde301.010" /></th>
              </tr>
              <tr>
                <td class="td1"><bean:message key="csde301.011" /></td>
                <td class="td1"><bean:message key="csde301.012" /></td>
                <td class="td1"><bean:message key="csde301.011" /></td>
                <td class="td1"><bean:message key="csde301.012" /></td>
              </tr>
              <c:forEach var="i" begin="0" end="${projectDetailList.size() - 1}">
                <c:set var="inFileFlag" value="0" />
                <c:if test="${i + rowCountUp <= projectDetailList.size() - 1}">
                  <c:if test="${i + rowCountUp == projectDetailList.size() - 1}">
                    <c:if test="${projectDetailList.get(i + rowCountUp).workflowId == '7'}">
                      <tr>
                        <td class="${rowClass}">
                          <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp - 1).status == '5' && projectDetailList.get(i + rowCountUp).esStatus == '1'}">
                            <div class="wspace" style="width:120px;">
                              <a href="javascript:void(0)" onclick="func_esCheck()">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</a>
                            </div>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp - 1).status == '5' && projectDetailList.get(i + rowCountUp).esStatus != '1'}">
                            <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp - 1).status != '5'}">
                            <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp).status != '1'}">
                            <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                          </c:if>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:40px;">${f:h(projectDetailList.get(i + rowCountUp).revision)}</div></td>
                        <td class="${rowClass}">
                          <c:if test="${projectDetailList.get(i + rowCountUp).esStatus == '2' || projectDetailList.get(i + rowCountUp).esStatus == '3'}">
                            <div class="wspace" style="width:100px;">${f:h(projectDetailList.get(i + rowCountUp).esStatusName)}</div>
                          </c:if>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).submittedAt)}</div></td>
                        <td class="${rowClass}">
                          <c:if test="${projectDetailList.get(i + rowCountUp).esStatus == '3'}">
                            <div class="wspace" style="width:100px;">${f:h(projectDetailList.get(i + rowCountUp).esStatusName)}</div>
                          </c:if>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).resultReceivedAt)}</div></td>
                        <td class="${rowClass}">
                          <c:if test="${projectDetailList.get(i + rowCountUp).status != '1'}">
                            <div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).statusName)}</div>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp).esStatus == '2'}">
                            <input type="button" class="projectDetailButton" value="<bean:message key='csde301.013' />" onclick="func_submit('${projectDetailList.get(i + rowCountUp).workflowId}','${projectDetailList.get(i + rowCountUp).workflowName}','${projectDetailList.get(i + rowCountUp).revision}')" />
                          </c:if>
                        </td>
                      </tr>
                    </c:if>
                  </c:if>
                  <c:if test="${i + rowCountUp != projectDetailList.size() - 1}">
                    <c:if test="${projectDetailList.get(i + rowCountUp).workflowId != projectDetailList.get(i + rowCountUp + 1).workflowId}">
                      <tr>
                        <td class="${rowClass}">
                          <c:if test="${i !=0 }">
                            <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp - 1).status == '5' && projectDetailList.get(i + rowCountUp).userInput == '1'}">
                              <c:forEach var="list" varStatus="status" items="${inFileList}">
                                <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp).workflowId && list.revision == projectDetailList.get(i + rowCountUp).revision}">
                                  <c:set var="inFileFlag" value="1" />
                                </c:if>
                              </c:forEach>
                              <c:if test="${inFileFlag == '0'}">
                                <div class="wspace" style="width:120px;">
                                  <a href="javascript:void(0)" onclick="func_fileUpload('${projectDetailList.get(i + rowCountUp).workflowId}','${projectDetailList.get(i + rowCountUp).workflowName}','${projectDetailList.get(i + rowCountUp).revision}')">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</a>
                                </div>
                              </c:if>
                              <c:if test="${inFileFlag == '1'}">
                                <div class="wspace" style="width:120px;">
                                  <a href="javascript:void(0)" onclick="func_uploaded()">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</a>
                                </div>
                              </c:if>
                            </c:if>
                            <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp - 1).status == '5' && projectDetailList.get(i + rowCountUp).userInput == '0'}">
                              <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                            </c:if>
                            <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp - 1).status != '5'}">
                              <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                            </c:if>
                            <c:if test="${projectDetailList.get(i + rowCountUp).status != '1'}">
                              <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                            </c:if>
                          </c:if>
                          <c:if test="${i == 0}">
                            <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp).userInput == '1'}">
                              <c:forEach var="list" varStatus="status" items="${inFileList}">
                                <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp).workflowId && list.revision == projectDetailList.get(i + rowCountUp).revision}">
                                  <c:set var="inFileFlag" value="1" />
                                </c:if>
                              </c:forEach>
                              <c:if test="${inFileFlag == '0'}">
                                <div class="wspace" style="width:120px;">
                                  <a href="javascript:void(0)" onclick="func_fileUpload('${projectDetailList.get(i + rowCountUp).workflowId}','${projectDetailList.get(i + rowCountUp).workflowName}','${projectDetailList.get(i + rowCountUp).revision}')">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</a>
                                </div>
                              </c:if>
                              <c:if test="${inFileFlag == '1'}">
                                <div class="wspace" style="width:120px;">
                                  <a href="javascript:void(0)" onclick="func_uploaded()">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</a>
                                </div>
                              </c:if>
                            </c:if>
                            <c:if test="${projectDetailList.get(i + rowCountUp).status == '1' && projectDetailList.get(i + rowCountUp).userInput == '0'}">
                              <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                            </c:if>
                            <c:if test="${projectDetailList.get(i + rowCountUp).status != '1'}">
                              <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                            </c:if>
                          </c:if>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:40px;">${f:h(projectDetailList.get(i + rowCountUp).revision)}</div></td>
                        <td class="${rowClass}">
                          <c:forEach var="list" varStatus="status" items="${inFileList}">
                            <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp).workflowId && list.revision == projectDetailList.get(i + rowCountUp).revision}">
                              <div class="wspace" style="width:100px;"><a href="javascript:void(0)" onclick="func_download('${list.filePath}' + '/' + '${list.fileName}', '${list.dataType}')">${f:h(list.fileName)}</a></div>
                              <c:set var="inFileFlag" value="1" />
                            </c:if>
                          </c:forEach>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).submittedAt)}</div></td>
                        <td class="${rowClass}">
                          <c:forEach var="list" varStatus="status" items="${outFileList}">
                            <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp).workflowId && list.revision == projectDetailList.get(i + rowCountUp).revision}">
                              <div class="wspace" style="width:100px;"><a href="javascript:void(0)" onclick="func_download('${list.filePath}' + '/' + '${list.fileName}', '${list.dataType}')">${f:h(list.fileName)}</a></div>
                            </c:if>
                          </c:forEach>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).resultReceivedAt)}</div></td>
                        <td class="${rowClass}">
                          <c:if test="${projectDetailList.get(i + rowCountUp).status != 1}">
                            <div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).statusName)}</div>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp).status == 1 && inFileFlag == 1}">
                            <input type="button" class="projectDetailButton" value="<bean:message key='csde301.013' />" onclick="func_submit('${projectDetailList.get(i + rowCountUp).workflowId}','${projectDetailList.get(i + rowCountUp).workflowName}','${projectDetailList.get(i + rowCountUp).revision}')" />
                            <input type="button" class="projectDetailButton" value="<bean:message key='csde301.014' />" onclick="func_delete('${projectDetailList.get(i + rowCountUp).workflowId}','${projectDetailList.get(i + rowCountUp).workflowName}','${projectDetailList.get(i + rowCountUp).revision}')" />
                          </c:if>
                        </td>
                      </tr>
                      <c:choose>
                        <c:when test="${rowClass == 'td1'}"><c:set var="rowClass" value="td2" /></c:when>
                        <c:when test="${rowClass == 'td2'}"><c:set var="rowClass" value="td1" /></c:when>
                      </c:choose>
                    </c:if>
                    <c:if test="${projectDetailList.get(i + rowCountUp).workflowId == projectDetailList.get(i + rowCountUp + 1).workflowId}">
                      <tr>
                        <td class="${rowClass}" rowspan="2">
                          <c:if test="${projectDetailList.get(i + rowCountUp + 1).status == '1' && ( projectDetailList.get(i + rowCountUp).status == '4' || projectDetailList.get(i + rowCountUp).status == '5' ) && projectDetailList.get(i + rowCountUp + 1).userInput == '1'}">
                            <c:forEach var="list" varStatus="status" items="${inFileList}">
                              <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp + 1).workflowId && list.revision == projectDetailList.get(i + rowCountUp + 1).revision}">
                                <c:set var="inFileFlag" value="1" />
                              </c:if>
                            </c:forEach>
                            <c:if test="${inFileFlag == '0'}">
                              <div class="wspace" style="width:120px;">
                                <a href="javascript:void(0)" onclick="func_fileUpload('${projectDetailList.get(i + rowCountUp + 1).workflowId}','${projectDetailList.get(i + rowCountUp + 1).workflowName}','${projectDetailList.get(i + rowCountUp + 1).revision}')">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</a>
                              </div>
                            </c:if>
                            <c:if test="${inFileFlag == '1'}">
                              <div class="wspace" style="width:120px;">
                                <a href="javascript:void(0)" onclick="func_uploaded()">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</a>
                              </div>
                            </c:if>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp + 1).status == '1' && ( projectDetailList.get(i + rowCountUp).status == '4' || projectDetailList.get(i + rowCountUp).status == '5' ) && projectDetailList.get(i + rowCountUp + 1).userInput == '0'}">
                            <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp + 1).status == '1' && !( projectDetailList.get(i + rowCountUp).status == '4' || projectDetailList.get(i + rowCountUp).status == '5' )}">
                            <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp + 1).status != '1'}">
                            <div class="wspace" style="width:120px;">${f:h(projectDetailList.get(i + rowCountUp).workflowName)}</div>
                          </c:if>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:40px;">${f:h(projectDetailList.get(i + rowCountUp).revision)}</div></td>
                        <td class="${rowClass}">
                          <c:forEach var="list" varStatus="status" items="${inFileList}">
                            <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp).workflowId && list.revision == projectDetailList.get(i + rowCountUp).revision}">
                              <div class="wspace" style="width:100px;"><a href="javascript:void(0)" onclick="func_download('${list.filePath}' + '/' + '${list.fileName}', '${list.dataType}')">${f:h(list.fileName)}</a></div>
                            </c:if>
                          </c:forEach>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).submittedAt)}</div></td>
                        <td class="${rowClass}">
                          <c:forEach var="list" varStatus="status" items="${outFileList}">
                            <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp).workflowId && list.revision == projectDetailList.get(i + rowCountUp).revision}">
                              <div class="wspace" style="width:100px;"><a href="javascript:void(0)" onclick="func_download('${list.filePath}' + '/' + '${list.fileName}', '${list.dataType}')">${f:h(list.fileName)}</a></div>
                            </c:if>
                          </c:forEach>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).resultReceivedAt)}</div></td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp).statusName)}</div></td>
                      </tr>
                      <tr>
                        <td class="${rowClass}"><div class="wspace" style="width:40px;">${f:h(projectDetailList.get(i + rowCountUp + 1).revision)}</div></td>
                        <td class="${rowClass}">
                          <c:forEach var="list" varStatus="status" items="${inFileList}">
                            <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp + 1).workflowId && list.revision == projectDetailList.get(i + rowCountUp + 1).revision}">
                              <div class="wspace" style="width:100px;"><a href="javascript:void(0)" onclick="func_download('${list.filePath}' + '/' + '${list.fileName}', '${list.dataType}')">${f:h(list.fileName)}</a></div>
                              <c:set var="inFileFlag" value="1" />
                            </c:if>
                          </c:forEach>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp + 1).submittedAt)}</div></td>
                        <td class="${rowClass}">
                          <c:forEach var="list" varStatus="status" items="${outFileList}">
                            <c:if test="${list.workflowId == projectDetailList.get(i + rowCountUp + 1).workflowId && list.revision == projectDetailList.get(i + rowCountUp + 1).revision}">
                              <div class="wspace" style="width:100px;"><a href="javascript:void(0)" onclick="func_download('${list.filePath}' + '/' + '${list.fileName}', '${list.dataType}')">${f:h(list.fileName)}</a></div>
                            </c:if>
                          </c:forEach>
                        </td>
                        <td class="${rowClass}"><div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp + 1).resultReceivedAt)}</div></td>
                        <td class="${rowClass}">
                          <c:if test="${projectDetailList.get(i + rowCountUp + 1).status != 1}">
                            <div class="wspace" style="width:80px;">${f:h(projectDetailList.get(i + rowCountUp + 1).statusName)}</div>
                          </c:if>
                          <c:if test="${projectDetailList.get(i + rowCountUp + 1).status == 1 && inFileFlag == 1}">
                            <input type="button" class="projectDetailButton" value="<bean:message key='csde301.013' />" onclick="func_submit('${projectDetailList.get(i + rowCountUp + 1).workflowId}','${projectDetailList.get(i + rowCountUp + 1).workflowName}','${projectDetailList.get(i + rowCountUp + 1).revision}')" />
                            <input type="button" class="projectDetailButton" value="<bean:message key='csde301.014' />" onclick="func_delete('${projectDetailList.get(i + rowCountUp + 1).workflowId}','${projectDetailList.get(i + rowCountUp + 1).workflowName}','${projectDetailList.get(i + rowCountUp + 1).revision}')" />
                          </c:if>
                        </td>
                      </tr>
                      <c:set var="rowCountUp" value="${rowCountUp + 1}" />
                      <c:choose>
                        <c:when test="${rowClass == 'td1'}"><c:set var="rowClass" value="td2" /></c:when>
                        <c:when test="${rowClass == 'td2'}"><c:set var="rowClass" value="td1" /></c:when>
                      </c:choose>
                    </c:if>
                  </c:if>
                </c:if>
              </c:forEach>
            </table>

          </div><!-- searchTable -->

          <logic:messagesPresent>
            <div>
              <html:errors />
            </div>
          </logic:messagesPresent>

        </div><!-- colRight -->

        <div>
          <html:hidden property="contractNumber" />
          <html:hidden property="projectId" />
          <html:hidden property="projectName" />
          <html:hidden property="description" />
          <html:hidden property="workflowId" />
          <html:hidden property="workflowName" />
          <html:hidden property="revision" />
          <html:hidden property="fileName" />
        </div>

        <%@ include file="../common/session.jsp" %>

</s:form>

      </div><!-- maincontents -->

      <!-- footer -->
      <%@ include file="../common/footer.jsp" %>

    </div><!-- container -->

  </div><!-- screenMode -->

</body>

</html>